package com.gzhryc.shared_device.cdcz.code.dao.db;

import com.gzhryc.jdbc.annotaion.*;
import com.gzhryc.jdbc.enums.DateBranchTableType;

import java.io.Serializable;
import java.util.Date;

/**
 * 收费日志，一个订单每小时一个条数据
 */
@DateBranchTable(type= DateBranchTableType.year)
@Table(name="cdcz_order_charge_log")
public class CDCZOrderChargeLog implements Serializable {

    @PrimaryKey
    @Column(name = "trade_no")
    protected String tradeNo;

    @PrimaryKey
    @Column(name = "hour_str", note = "小时数据，yyyMMddHH")
    protected String hourStr;

    @Column(type = "TEXT")
    protected String content;

    @Column(name = "create_date")
    protected Date createDate;

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public String getHourStr() {
        return hourStr;
    }

    public void setHourStr(String hourStr) {
        this.hourStr = hourStr;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
